export default function useDailogWidth(maxWidth: number | string, minWidth: number | string) {
  const getWidth = () => {
    let width = window.innerWidth;
    if (width < 768) {
      return maxWidth;
    } else {
      return minWidth;
    }
  };

  return getWidth();
}
